package pri.damai.xiaowu.common.core.form;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import javax.validation.constraints.Min;
import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;

/**
 *
 * @Desc
 * @Author yxf
 * @Date 2022/3/14 22:15
 * 但行好事，莫问前程。
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
public class IdForm {
    @NotNull(message = "id不可为空。")
    @Min(1)
    private Long id;
}
